			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class TempSpace : EntityBase
	{
		[DataMember]
		private TempSpaceRow row;
		
		public TempSpace(TempSpaceRow row)
		{
			this.row = row;
		}
		
		public TempSpace()
		{
			this.row = new TempSpaceRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int? StoreId
		{
			get { return row.StoreId; }
			set { row.StoreId = value; }
		}

		[DataMember]
		public string StoreCode
		{
			get { return row.StoreCode; }
			set { row.StoreCode = value; }
		}

		[DataMember]
		public string StoreName
		{
			get { return row.StoreName; }
			set { row.StoreName = value; }
		}

		[DataMember]
		public int? ArticleId
		{
			get { return row.ArticleId; }
			set { row.ArticleId = value; }
		}

		[DataMember]
		public int? PlanogramId
		{
			get { return row.PlanogramId; }
			set { row.PlanogramId = value; }
		}

		[DataMember]
		public string Planogram
		{
			get { return row.Planogram; }
			set { row.Planogram = value; }
		}

		[DataMember]
		public string ArticleCode
		{
			get { return row.ArticleCode; }
			set { row.ArticleCode = value; }
		}

		[DataMember]
		public string UOM
		{
			get { return row.UOM; }
			set { row.UOM = value; }
		}

		[DataMember]
		public string ArticleName
		{
			get { return row.ArticleName; }
			set { row.ArticleName = value; }
		}

		[DataMember]
		public string MC
		{
			get { return row.MC; }
			set { row.MC = value; }
		}

		[DataMember]
		public string Category
		{
			get { return row.Category; }
			set { row.Category = value; }
		}

		[DataMember]
		public int? Facings
		{
			get { return row.Facings; }
			set { row.Facings = value; }
		}

		[DataMember]
		public decimal Width
		{
			get { return row.Width; }
			set { row.Width = value; }
		}

		
		public TempSpaceRow GetRow()
        {
            return row;
        }
		
	} 
} 
